<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JCSDK C++ API Reference: 群组模块</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JCSDK C++ API Reference
   &#160;<span id="projectnumber">2.3.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#enum-members">枚举</a> &#124;
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">群组模块</div>  </div>
</div><!--header-->
<div class="contents">

<p>用于管理群组 <br  />
  
<a href="#details">更多...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_group.html">JCGroup</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_group_callback.html">JCGroupCallback</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_group_item.html">JCGroupItem</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_j_c_group_member.html">JCGroupMember</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
枚举</h2></td></tr>
<tr class="memitem:ga16f4527910908262331881a2c0cb59e4"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroupReason</a> { <br />
&#160;&#160;<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4af213284123188c46a467d2f439ccacc3">JCGroupReasonNone</a>, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4a06c3dbfae461e71b06c1b4a6a342c621">JCGroupReasonNotLogin</a>, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4a8b1102333f9c93aa696d7030a32c297d">JCGroupReasonCallFunctionError</a>, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4a32d104f5159a01e4fdb5d01e6fb979b7">JCGroupReasonTimeOut</a>, 
<br />
&#160;&#160;<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4afaff631b9deafd18a93d00caf556d5f2">JCGroupReasonNetWork</a>, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4a1cd52768426a0935c94fc90d661e64d3">JCGroupReasonParamInvalid</a>, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4a0467cb966fcc7ad50b068628d090cee0">JCGroupReasonGetAgent</a>, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4a319f61bf2f7f9979ee4879372e21fbbc">JCGroupReasonServer</a>, 
<br />
&#160;&#160;<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4aab45ff061e760be81fae35baf1ee4f5b">JCGroupReasonUpdateTimeInvalid</a>, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4a4b1177042261712ff2bc6113b2ef117c">JCGroupReasonPermissionDenied</a>, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4a9f847045370658dd51ad82823ac66727">JCGroupReasonUidNotFound</a>, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4ad02804e4c6b4416997b9c5dae1c9dd26">JCGroupReasonChangeNotExists</a>, 
<br />
&#160;&#160;<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4aa3f74c8306ff7230da4136b98f804754">JCGroupReasonAddAlreadyExists</a>, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4a33095b6877d8444e3faebe6eb67a3b20">JCGroupReasonAddSelf</a>, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4a3a5d5410edd6942944a648c5d39b349f">JCGroupReasonRelationTypeInvalid</a>, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4a240da2f5b3ec8740affdea9d1062be83">JCGroupReasonRemoveNotExist</a>, 
<br />
&#160;&#160;<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4a9fc2ba5858df42d5781854f6deea7529">JCGroupReasonStatusTypeError</a>, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4a7790357d782206c11b9ed0166f932218">JCGroupReasonWriteOwnerError</a>, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4ac7852116fee5fb03940080b9a01aead1">JCGroupReasonSetWriteProperty</a>, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4abfefad47b830d5dca2d74e9f61304023">JCGroupReasonApplyTypeGranted</a>, 
<br />
&#160;&#160;<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4a448c15806cb42cfcdb564ce6b38f5c57">JCGroupReasonLackOfGroupName</a>, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4a737d302ce15eadb37dd4fb81e2515ef6">JCGroupReasonUnknownGroupType</a>, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4ab215a722480dee7480e76e930c8d4271">JCGroupReasonOwnerNotInvoker</a>, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4a173c112ba476e3c1c93df0fd326cd275">JCGroupReasonNotInGroup</a>, 
<br />
&#160;&#160;<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4abe199893405aed756a7104ae8968c751">JCGroupReasonBlacklist</a>, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4a5e511573763bdd3bd5bc4d45f8faa1a2">JCGroupReasonCapacityFull</a>, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4a9f9f1d889145f1d9cf3737dd9d83230b">JCGroupReasonNotBelongToGroup</a>, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4a7158b08cc5a90f2cb6e9e3acced2da8d">JCGroupReasonWriteExceedRight</a>, 
<br />
&#160;&#160;<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4ad6a56a2ae38ea4f5d1bd765d48ecb05c">JCGroupReasonQueryUid</a>, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga16f4527910908262331881a2c0cb59e4ae407d6e448e9b41eb839f767bec89580">JCGroupReasonOther</a> = 100
<br />
 }</td></tr>
<tr class="separator:ga16f4527910908262331881a2c0cb59e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad4ab9b1d35878f615ae3ee3a504f29dc"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gad4ab9b1d35878f615ae3ee3a504f29dc">JCGroupChangeState</a> { <br />
&#160;&#160;<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ggad4ab9b1d35878f615ae3ee3a504f29dcab23fd8ba7822ad804c39f671bbc0f629">JCGroupChangeStateNone</a>, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ggad4ab9b1d35878f615ae3ee3a504f29dcae6d09e1ba3eda7d522949d86d3927b47">JCGroupChangeStateAdd</a>, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ggad4ab9b1d35878f615ae3ee3a504f29dca4fee776fa9c21d09635bbfe04e3f1c9b">JCGroupChangeStateUpdate</a>, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ggad4ab9b1d35878f615ae3ee3a504f29dca5051461c41db335729bdcb6703d939dc">JCGroupChangeStateRemove</a>, 
<br />
&#160;&#160;<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ggad4ab9b1d35878f615ae3ee3a504f29dca1985373b9f264bdfeaf3ecfb393a00e0">JCGroupChangeStateProperties</a>
<br />
 }</td></tr>
<tr class="separator:gad4ab9b1d35878f615ae3ee3a504f29dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga906a9f65ccd60e7b876c9513c0848b49"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga906a9f65ccd60e7b876c9513c0848b49">JCGroupType</a> { <a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga906a9f65ccd60e7b876c9513c0848b49a76d18ae24646336b75bf05ca966bfadc">JCGroupTypeDiscussion</a> = 0, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gga906a9f65ccd60e7b876c9513c0848b49a88f382478a6164ead2938caf0fb8120d">JCGroupTypeNormal</a>
 }</td></tr>
<tr class="separator:ga906a9f65ccd60e7b876c9513c0848b49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabe24e197eb12e794772135c7bc7d0c37"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gabe24e197eb12e794772135c7bc7d0c37">JCGroupMemberType</a> { <a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ggabe24e197eb12e794772135c7bc7d0c37ab6a2ef866fc524f953ac2b03a9b46db8">JCGroupMemberTypeOwner</a> = 0x100 + 1, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ggabe24e197eb12e794772135c7bc7d0c37ae8a87a6217c15e455151e9331e06f800">JCGroupMemberTypeManager</a> = 0x100 + 2, 
<a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ggabe24e197eb12e794772135c7bc7d0c37a3f8b24f324229f897988aee30f1fe1c5">JCGroupMemberTypeMember</a> = 0x100 + 3
 }</td></tr>
<tr class="separator:gabe24e197eb12e794772135c7bc7d0c37"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:ga7a981057ead48f5af40a577e07769212"><td class="memItemLeft" align="right" valign="top">JCSDK_API <a class="el" href="class_j_c_group.html">JCGroup</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga7a981057ead48f5af40a577e07769212">createJCGroup</a> (<a class="el" href="class_j_c_client.html">JCClient</a> *client, <a class="el" href="class_j_c_group_callback.html">JCGroupCallback</a> *callback)</td></tr>
<tr class="separator:ga7a981057ead48f5af40a577e07769212"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa462c1732cb653b9658887aa58c2af30"><td class="memItemLeft" align="right" valign="top">JCSDK_API void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gaa462c1732cb653b9658887aa58c2af30">destroyJCGroup</a> ()</td></tr>
<tr class="separator:gaa462c1732cb653b9658887aa58c2af30"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<p>用于管理群组 <br  />
 </p>
<h2 class="groupheader">枚举类型说明</h2>
<a id="gad4ab9b1d35878f615ae3ee3a504f29dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad4ab9b1d35878f615ae3ee3a504f29dc">&#9670;&nbsp;</a></span>JCGroupChangeState</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gad4ab9b1d35878f615ae3ee3a504f29dc">JCGroupChangeState</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>群组变化状态 </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="ggad4ab9b1d35878f615ae3ee3a504f29dcab23fd8ba7822ad804c39f671bbc0f629"></a>JCGroupChangeStateNone&#160;</td><td class="fielddoc"><p>无 </p>
</td></tr>
<tr><td class="fieldname"><a id="ggad4ab9b1d35878f615ae3ee3a504f29dcae6d09e1ba3eda7d522949d86d3927b47"></a>JCGroupChangeStateAdd&#160;</td><td class="fielddoc"><p>新增 </p>
</td></tr>
<tr><td class="fieldname"><a id="ggad4ab9b1d35878f615ae3ee3a504f29dca4fee776fa9c21d09635bbfe04e3f1c9b"></a>JCGroupChangeStateUpdate&#160;</td><td class="fielddoc"><p>更新 </p>
</td></tr>
<tr><td class="fieldname"><a id="ggad4ab9b1d35878f615ae3ee3a504f29dca5051461c41db335729bdcb6703d939dc"></a>JCGroupChangeStateRemove&#160;</td><td class="fielddoc"><p>删除 </p>
</td></tr>
<tr><td class="fieldname"><a id="ggad4ab9b1d35878f615ae3ee3a504f29dca1985373b9f264bdfeaf3ecfb393a00e0"></a>JCGroupChangeStateProperties&#160;</td><td class="fielddoc"><p>群属性 </p>
</td></tr>
</table>

</div>
</div>
<a id="gabe24e197eb12e794772135c7bc7d0c37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabe24e197eb12e794772135c7bc7d0c37">&#9670;&nbsp;</a></span>JCGroupMemberType</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gabe24e197eb12e794772135c7bc7d0c37">JCGroupMemberType</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>群成员角色类型 </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="ggabe24e197eb12e794772135c7bc7d0c37ab6a2ef866fc524f953ac2b03a9b46db8"></a>JCGroupMemberTypeOwner&#160;</td><td class="fielddoc"><p>拥有者 </p>
</td></tr>
<tr><td class="fieldname"><a id="ggabe24e197eb12e794772135c7bc7d0c37ae8a87a6217c15e455151e9331e06f800"></a>JCGroupMemberTypeManager&#160;</td><td class="fielddoc"><p>管理员 </p>
</td></tr>
<tr><td class="fieldname"><a id="ggabe24e197eb12e794772135c7bc7d0c37a3f8b24f324229f897988aee30f1fe1c5"></a>JCGroupMemberTypeMember&#160;</td><td class="fielddoc"><p>群成员 </p>
</td></tr>
</table>

</div>
</div>
<a id="ga16f4527910908262331881a2c0cb59e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga16f4527910908262331881a2c0cb59e4">&#9670;&nbsp;</a></span>JCGroupReason</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga16f4527910908262331881a2c0cb59e4">JCGroupReason</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>群组错误枚举 </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4af213284123188c46a467d2f439ccacc3"></a>JCGroupReasonNone&#160;</td><td class="fielddoc"><p>正常 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4a06c3dbfae461e71b06c1b4a6a342c621"></a>JCGroupReasonNotLogin&#160;</td><td class="fielddoc"><p>未登陆 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4a8b1102333f9c93aa696d7030a32c297d"></a>JCGroupReasonCallFunctionError&#160;</td><td class="fielddoc"><p>函数调用失败 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4a32d104f5159a01e4fdb5d01e6fb979b7"></a>JCGroupReasonTimeOut&#160;</td><td class="fielddoc"><p>超时 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4afaff631b9deafd18a93d00caf556d5f2"></a>JCGroupReasonNetWork&#160;</td><td class="fielddoc"><p>网络异常 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4a1cd52768426a0935c94fc90d661e64d3"></a>JCGroupReasonParamInvalid&#160;</td><td class="fielddoc"><p>参考错误 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4a0467cb966fcc7ad50b068628d090cee0"></a>JCGroupReasonGetAgent&#160;</td><td class="fielddoc"><p>内部获得 Agent 失败 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4a319f61bf2f7f9979ee4879372e21fbbc"></a>JCGroupReasonServer&#160;</td><td class="fielddoc"><p>服务器错误 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4aab45ff061e760be81fae35baf1ee4f5b"></a>JCGroupReasonUpdateTimeInvalid&#160;</td><td class="fielddoc"><p>更新时间无效 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4a4b1177042261712ff2bc6113b2ef117c"></a>JCGroupReasonPermissionDenied&#160;</td><td class="fielddoc"><p>禁止操作 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4a9f847045370658dd51ad82823ac66727"></a>JCGroupReasonUidNotFound&#160;</td><td class="fielddoc"><p>Uid 找不到 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4ad02804e4c6b4416997b9c5dae1c9dd26"></a>JCGroupReasonChangeNotExists&#160;</td><td class="fielddoc"><p>关系不存在 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4aa3f74c8306ff7230da4136b98f804754"></a>JCGroupReasonAddAlreadyExists&#160;</td><td class="fielddoc"><p>关系已存在 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4a33095b6877d8444e3faebe6eb67a3b20"></a>JCGroupReasonAddSelf&#160;</td><td class="fielddoc"><p>不能添加自己 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4a3a5d5410edd6942944a648c5d39b349f"></a>JCGroupReasonRelationTypeInvalid&#160;</td><td class="fielddoc"><p>关系类型错误 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4a240da2f5b3ec8740affdea9d1062be83"></a>JCGroupReasonRemoveNotExist&#160;</td><td class="fielddoc"><p>删除的关系不存在 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4a9fc2ba5858df42d5781854f6deea7529"></a>JCGroupReasonStatusTypeError&#160;</td><td class="fielddoc"><p>状态类型错误 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4a7790357d782206c11b9ed0166f932218"></a>JCGroupReasonWriteOwnerError&#160;</td><td class="fielddoc"><p>只允许一个创建者 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4ac7852116fee5fb03940080b9a01aead1"></a>JCGroupReasonSetWriteProperty&#160;</td><td class="fielddoc"><p>写入属性错误 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4abfefad47b830d5dca2d74e9f61304023"></a>JCGroupReasonApplyTypeGranted&#160;</td><td class="fielddoc"><p>类型不被允许 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4a448c15806cb42cfcdb564ce6b38f5c57"></a>JCGroupReasonLackOfGroupName&#160;</td><td class="fielddoc"><p>缺少群名 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4a737d302ce15eadb37dd4fb81e2515ef6"></a>JCGroupReasonUnknownGroupType&#160;</td><td class="fielddoc"><p>未知的群类型 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4ab215a722480dee7480e76e930c8d4271"></a>JCGroupReasonOwnerNotInvoker&#160;</td><td class="fielddoc"><p>非群主 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4a173c112ba476e3c1c93df0fd326cd275"></a>JCGroupReasonNotInGroup&#160;</td><td class="fielddoc"><p>不在群中 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4abe199893405aed756a7104ae8968c751"></a>JCGroupReasonBlacklist&#160;</td><td class="fielddoc"><p>在黑名单中 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4a5e511573763bdd3bd5bc4d45f8faa1a2"></a>JCGroupReasonCapacityFull&#160;</td><td class="fielddoc"><p>群已满 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4a9f9f1d889145f1d9cf3737dd9d83230b"></a>JCGroupReasonNotBelongToGroup&#160;</td><td class="fielddoc"><p>不属于群 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4a7158b08cc5a90f2cb6e9e3acced2da8d"></a>JCGroupReasonWriteExceedRight&#160;</td><td class="fielddoc"><p>权限不够 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4ad6a56a2ae38ea4f5d1bd765d48ecb05c"></a>JCGroupReasonQueryUid&#160;</td><td class="fielddoc"><p>查询Uid错误 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga16f4527910908262331881a2c0cb59e4ae407d6e448e9b41eb839f767bec89580"></a>JCGroupReasonOther&#160;</td><td class="fielddoc"><p>其他错误 </p>
</td></tr>
</table>

</div>
</div>
<a id="ga906a9f65ccd60e7b876c9513c0848b49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga906a9f65ccd60e7b876c9513c0848b49">&#9670;&nbsp;</a></span>JCGroupType</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#ga906a9f65ccd60e7b876c9513c0848b49">JCGroupType</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>群组类型 </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="gga906a9f65ccd60e7b876c9513c0848b49a76d18ae24646336b75bf05ca966bfadc"></a>JCGroupTypeDiscussion&#160;</td><td class="fielddoc"><p>讨论组 </p>
</td></tr>
<tr><td class="fieldname"><a id="gga906a9f65ccd60e7b876c9513c0848b49a88f382478a6164ead2938caf0fb8120d"></a>JCGroupTypeNormal&#160;</td><td class="fielddoc"><p>普通群 </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a id="ga7a981057ead48f5af40a577e07769212"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7a981057ead48f5af40a577e07769212">&#9670;&nbsp;</a></span>createJCGroup()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">JCSDK_API <a class="el" href="class_j_c_group.html">JCGroup</a>* createJCGroup </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_j_c_client.html">JCClient</a> *&#160;</td>
          <td class="paramname"><em>client</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_j_c_group_callback.html">JCGroupCallback</a> *&#160;</td>
          <td class="paramname"><em>callback</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>创建 <a class="el" href="class_j_c_group.html">JCGroup</a> 对象</p>
<p><a class="el" href="class_j_c_group.html">JCGroup</a> 的所有接口函数，如无特殊说明，都建议在主线程调用</p>
<dl class="section note"><dt>注解</dt><dd><ul>
<li>调用此方法创建 <a class="el" href="class_j_c_group.html">JCGroup</a> 对象后，期间没有调用过 <a class="el" href="group___xE7_xBE_xA4_xE7_xBB_x84_xE6_xA8_xA1_xE5_x9D_x97.html#gaa462c1732cb653b9658887aa58c2af30">destroyJCGroup</a> 方法销毁对象，然后又重复调用此方法，会直接返回第一次创建的 <a class="el" href="class_j_c_group.html">JCGroup</a> 对象</li>
<li>调用此方法前确保 <a class="el" href="class_j_c_client.html">JCClient</a> 已完成初始化，即 <a class="el" href="class_j_c_client.html#a9c45eac84e61df792573e9a1431c2c1d">getState</a> 方法获取的状态值不等于 <a class="el" href="group___xE7_x99_xBB_xE5_xBD_x95_xE6_xA8_xA1_xE5_x9D_x97.html#gga8b1b44e57fff02634fd4637428a70020a555237c15a4b12568003ebe8af59de24">JCClientReasonSDKNotInit</a></li>
</ul>
</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">client</td><td><a class="el" href="class_j_c_client.html">JCClient</a> 对象 </td></tr>
    <tr><td class="paramname">callback</td><td><a class="el" href="class_j_c_group_callback.html">JCGroupCallback</a> 回调接口，用于回调相关通知 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回 <a class="el" href="class_j_c_group.html">JCGroup</a> 对象 </dd></dl>
<dl class="exception"><dt>异常</dt><dd>
  <table class="exception">
    <tr><td class="paramname">JCClient、JCGroupCallback 任意一个参数传空就会出现调用异常</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaa462c1732cb653b9658887aa58c2af30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa462c1732cb653b9658887aa58c2af30">&#9670;&nbsp;</a></span>destroyJCGroup()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">JCSDK_API void destroyJCGroup </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>销毁 <a class="el" href="class_j_c_group.html">JCGroup</a> 对象 </p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
</html>
